<?php

namespace App\Message;

class Index
{
    static public $server = null;
    public $fd = null;
    public $info = [];

    public function __construct($server, $fd, $info)
    {
        self::$server = $server;
        $this->fd = $fd;
        $this->info = $info;
    }

    public function index()
    {
        print 'message default';
    }

    public function ping()
    {
        //  print "ping \r\n";
    }
}
